package com.sneaker.shower.util;

import com.sneaker.shower.common.BizException;
import com.sneaker.shower.entity.dto.UserDTO;

public class ValidateUserUtil {
    public static void validateUser(UserDTO userDTO) {
        if (userDTO == null || userDTO.getGuid() == null || userDTO.getOrganizationGuid() == null) {
            throw new BizException("不合法的请求，用户信息无效");
        }
    }
}
